package com.mushuilingfeng.ddd.framework;

import java.util.List;

/**
 * 组件工厂
 *
 * @author mushuilingfeng
 * @date 2024/9/14
 */
public interface ComponentFactory {

    <T> T getComponent(Class<T> clazz);

    <T> List<T> getComponentList(Class<T> clazz);

}
